package com.cloudwebrtc.voip.sipenginev2.impl;

import com.cloudwebrtc.voip.sipenginev2.SipEngine;
import com.cloudwebrtc.voip.sipenginev2.SipEngineFactory;

import android.content.Context;
import android.util.Log;

public class SipEngineFactoryImpl extends SipEngineFactory {
	private native static boolean NativeInit();
	private static String TAG = "*SipEngineV2*";
	static {
		//Log.d(TAG, "Loading libopenh264.so ...");
        //System.loadLibrary("openh264");
		Log.d(TAG, "Loading libSipEngineSDK.so ...");
        System.loadLibrary("SipEngineSDK");
	}
	
	public SipEngine CreateSipEngine(Context context) {
		return new SipEngineImpl(context);
	}
}